package com.culture.config.message;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotation.WebListener;

import org.springframework.boot.web.servlet.ServletComponentScan;

import lombok.extern.slf4j.Slf4j;

@Slf4j
@WebListener
@ServletComponentScan
public class RequestContextListener implements ServletContextListener {
	@Override
    public void contextInitialized(ServletContextEvent sce) {
        log.info("@WebListener context initialized");
    }

    @Override
    public void contextDestroyed(ServletContextEvent sce) {
        log.info("@WebListener context destroyed");
    }
}
